package cn.edu.gdut.deepcode.service;

import cn.edu.gdut.deepcode.domain.po.CanvasSnapshot;
import cn.edu.gdut.deepcode.domain.po.Result;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * 画布快照表 服务类
 * </p>
 *
 * @author author
 * @since 2025-04-11
 */
public interface ICanvasSnapshotService extends IService<CanvasSnapshot> {

    Result<?> directSaveSnapshot(Long canvasId, String canvasData);

    Result<String> getSnapshotById(Long canvasId);
    void deleteSnapshotById(Long canvasId);
}
